home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / ypset.z / ypset
Encoding:
Text File  |  1998-10-20  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. yyyyppppsssseeeetttt((((1111MMMM))))                                                            yyyyppppsssseeeetttt((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ypset - point ypbind at a particular NIS server
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      yyyyppppsssseeeetttt [ ----VVVV1111|----VVVV2222 ] [ ----hhhh _h_o_s_t ] [ ----dddd _d_o_m_a_i_n ] _s_e_r_v_e_r
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _y_p_s_e_t tells _y_p_b_i_n_d(1M) to get the network information service (NIS) for
  16.      the specified _d_o_m_a_i_n from the _y_p_s_e_r_v process running on _s_e_r_v_e_r.  If
  17.      _s_e_r_v_e_r is down, or isn't running _y_p_s_e_r_v, this is not discovered until an
  18.      NIS client process tries to get a binding for the domain.  At this point,
  19.      the binding set by _y_p_s_e_t will be tested by _y_p_b_i_n_d.  If the binding is
  20.      invalid, _y_p_b_i_n_d attempts to rebind for the same domain.
  21.  
  22.      By default, _y_p_b_i_n_d does not allow _y_p_s_e_t operations from local or remote
  23.      hosts.  _y_p_s_e_t returns the error message
  24.  
  25.           ypset: Sorry, I couldn't send my RPC message to ypbind on host _n_i_s_s_e_r_v_e_r
  26.  
  27.      when _y_p_b_i_n_d rejects the attempt.
  28.  
  29.      _y_p_s_e_t is useful for binding a client node that is not on a broadcast net
  30.      or is on a broadcast net that isn't running an NIS server host.  It also
  31.      is useful for debugging NIS client applications, for instance where an
  32.      NIS map only exists at a single NIS server host.
  33.  
  34.      In cases where several hosts on the local net are supplying NIS services,
  35.      it is possible for _y_p_b_i_n_d to rebind to another host even while you
  36.      attempt to find out if the _y_p_s_e_t operation succeeded.  That is, you can
  37.      type _yyyy_pppp_ssss_eeee_tttt _hhhh_oooo_ssss_tttt_1111_;;;; _yyyy_pppp_wwww_hhhh_iiii_cccc_hhhh and get the response _h_o_s_t_2, which can be
  38.      confusing.  This is a function of the NIS subsystem's attempt to load-
  39.      balance among the available NIS servers It occurs when _h_o_s_t_1 does not
  40.      respond to _y_p_b_i_n_d because it is not running _y_p_s_e_r_v (or is overloaded) and
  41.      _h_o_s_t_2, running _y_p_s_e_r_v, gets the binding.
  42.  
  43.      _s_e_r_v_e_r indicates the NIS server to bind to and can be specified as a name
  44.      or an IP address.  If specified as a name, _y_p_s_e_t attempt to use NIS
  45.      services to resolve the name to an IP address.  This works only if the
  46.      node has a current valid binding for the domain in question.  In most
  47.      cases, _s_e_r_v_e_r should be specified as an IP address.
  48.  
  49.      Refer to _y_p_f_i_l_e_s(4) and _y_p_s_e_r_v(1M) for an overview of NIS.
  50.  
  51. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  52.      ----VVVV1111         Bind _s_e_r_v_e_r for the (old) v.1 NIS protocol.
  53.  
  54.      ----VVVV2222         Bind _s_e_r_v_e_r for the (current) v.2 NIS protocol.
  55.  
  56.                  If no version is supplied, _y_p_s_e_t, first attempts to set the
  57.                  domain for the (current) v.2 protocol.  If this attempt
  58.                  fails, _y_p_s_e_t, attempts to set the domain for the (old) v.1
  59.                  protocol.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. yyyyppppsssseeeetttt((((1111MMMM))))                                                            yyyyppppsssseeeetttt((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----hhhh _h_o_s_t     Set _y_p_b_i_n_d's binding on _h_o_s_t, instead of locally.  _h_o_s_t can
  75.                  be specified as a name or as an Internet address.
  76.  
  77.      ----dddd _d_o_m_a_i_n   Use _d_o_m_a_i_n instead of the default domain.
  78.  
  79. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  80.      ypserv(1M), ypwhich(1), ypfiles(4).
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.